Intersoft ClientUI Documentation
EventSubscription<TPayload> Constructor



A reference to a delegate of type Action.
A reference to a delegate of type Predicate.
Creates a new instance of EventSubscription<TPayload>.
Syntax
Public Function New( _
   ByVal actionReference As IDelegateReference, _
   ByVal filterReference As IDelegateReference _
)
Dim actionReference As IDelegateReference
Dim filterReference As IDelegateReference
 
Dim instance As New EventSubscription(Of TPayload)(actionReference, filterReference)
public EventSubscription<TPayload>( 
   IDelegateReference actionReference,
   IDelegateReference filterReference
)
public:
EventSubscription<TPayload>( 
   IDelegateReference^ actionReference,
   IDelegateReference^ filterReference
)

Parameters

actionReference
A reference to a delegate of type Action.
filterReference
A reference to a delegate of type Predicate.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionWhen actionReference or %% are a null reference (Nothing in Visual Basic).
System.ArgumentExceptionWhen the target of actionReference is not of type Action, or the target of filterReference is not of type Predicate.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EventSubscription<TPayload> Class
EventSubscription<TPayload> Members

Send Feedback